package com.enjoyor.soa.traffic.server.efoms.dubbo.impl;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.enjoyor.soa.traffic.api.service.dubbo.efoms.IDubboSurveyDeviceInfoService;
import com.enjoyor.soa.traffic.server.efoms.dubbo.manage.ManageSurveyDeviceInfoService;
import com.enjoyor.soa.traffic.util.pojo.Page;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

@SuppressWarnings("rawtypes")
@Service(version = "1.0.0", timeout = 4000)
public class DubboSurveyDeviceInfoService implements IDubboSurveyDeviceInfoService{

	@Autowired
	private ManageSurveyDeviceInfoService manageSurveyDeviceInfoService;
	@Override
	public ResultPojo getSurveyDeviceInfoPage(String devId, String devTypeCode, String devName, String devIp,
			String devStatusCode, String devFactory, String devAreaCode,String devDeptId, String searchFlag, Page page) {
		// TODO Auto-generated method stub
		return this.manageSurveyDeviceInfoService.getSurveyDeviceInfoPage(devId, devTypeCode, devName, devIp, devStatusCode, devFactory, devAreaCode,devDeptId,searchFlag, page);
	}

	@Override
	public ResultPojo getSurveyDeviceInfoList(String devId, String devTypeCode, String devName, String devIp,
			String devStatusCode, String devFactory, String devAreaCode,String devDeptId,String searchFlag) {
		// TODO Auto-generated method stub
		return this.manageSurveyDeviceInfoService.getSurveyDeviceInfoList(devId, devTypeCode, devName, devIp, devStatusCode, devFactory, devAreaCode,devDeptId,searchFlag);
	}

	@Override
	public ResultPojo getSurveyDeviceInfo(String devId) {
		// TODO Auto-generated method stub
		return this.manageSurveyDeviceInfoService.getSurveyDeviceInfo(devId);
	}

	@Override
	public ResultPojo getSurveyCount(String devTypeCode, String beginTime, String endTime) {
		// TODO Auto-generated method stub
		return this.manageSurveyDeviceInfoService.getSurveyCount(devTypeCode, beginTime, endTime);
	}
	
}
